//
//  HWBookReadView.h
//  嗨文
//
//  Created by 响当当 on 5/15/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^changeStatueBarColor)(UIColor *color);
typedef void(^nextPageContext)(NSString *nextChapterId, NSString *nextChapterCoin);
typedef void(^upPageContext)(NSString *upChapterId, NSString *upChapterCoin);
typedef void(^loadChapter)(NSString *chapterId, NSString *chapterCoin);
typedef void(^getBack)(void);
typedef void(^showOrHideStatueBar)(BOOL show);

@interface HWBookReadView : UIView
@property (nonatomic, copy)changeStatueBarColor changeStatueBarColorBlock;
@property (nonatomic, copy)nextPageContext nextPageContextBlock;
@property (nonatomic, copy)upPageContext upPageContextBlock;
@property (nonatomic, copy)loadChapter loadChapterBlock;
@property (nonatomic, copy)getBack getBackBlock;
@property (nonatomic, copy)showOrHideStatueBar showOrHideStatueBarBlock;

- (void)getDate:(HWBookReaderModel *)model freeBookNum:(NSString *)num;
- (void)showPayView;
@end
